<template>
  <div class="not-found-container">
    <div class="not-found-content">
      <h1 class="not-found-title">404</h1>
      <p class="not-found-description">抱歉，您访问的页面不存在。</p>
      <router-link to="/" class="not-found-back-link">返回主页</router-link>
    </div>
  </div>
</template>

<script lang="ts" setup>
// 无需额外逻辑
</script>

<style scoped>
.not-found-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f8f9fa;
  text-align: center;
}

.not-found-content {
  text-align: center;
}

.not-found-title {
  font-size: 72px;
  color: #343a40;
  margin-bottom: 20px;
}

.not-found-description {
  font-size: 20px;
  color: #6c757d;
  margin-bottom: 30px;
}

.not-found-back-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.not-found-back-link:hover {
  background-color: #0056b3;
}
</style>
